import type { FC } from 'react';
import style from './index.less';
import React, { Fragment, useState, useEffect } from 'react';
import IconFont from '@/components/Icon';
import { history } from 'umi';
import { Button } from 'antd';
import { CalendarOutlined } from '@ant-design/icons';
interface Props {}
const Achievement: FC<Props> = () => (
  <div className={style.count_con}>
    <div className={style.content}>
      
      <div className={style.left}>
        <CalendarOutlined style={{color:'grey'}}/>您好！
      </div>
      <Button  
      className={style.right} 
      type='default' 
      onClick={() => {
        history.push('/client/Sign');
      }}>
        去签到</Button>
    </div>
    <div  className={style.bottom} style={{color:'rgb(93,178,255)'}}> 点亮你在社区的每一天!</div>
  </div>
);

export default Achievement;
